package com.kagura.IOC.annotationLogin.service.impl;

import com.kagura.IOC.annotationLogin.dao.UserDao;
import com.kagura.IOC.annotationLogin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Classname UserServiceImpl
 * @Description TODO
 * @Author 将烬星火是否太炽热, 明日黄花会开败阡陌
 * @Date 2021-08-17 下午 09:26
 * @Version 1.0
 **/
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
     UserDao userDao;

    @Override
    public boolean login(String loginUser, String loginPwd) {
        return userDao.login(loginUser, loginPwd);
    }
}
